#include<iostream>
using namespace std;

class TheBeauty
{
public:
	int find(int n)
	{
		bool numbers[10] = {false};
		while(n>0)
		{
			int a = n%10;
			numbers[a] = true;
			n /=10;
		}
		int count =0;
		for(int i=0;i<10;i++)
		{
			if(numbers[i])
				count++;
		}
		return count;
	}
};